<?php

require_once __DIR__.'/User.php';

$username = isset($_GET['username']) ? $_GET['username'] : '';

if(empty($username)){
    echo '用户名不能为空';
}

$lisi = new User($username);
$userinfo = $lisi->getUserINfo();
print_r($userinfo);
